package com.clear.auth.domain.convert;

import com.clear.auth.domain.entity.AuthPermissionBO;
import com.clear.auth.infra.basic.entity.AuthPermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 权限BO转换器
 */
@Mapper
public interface AuthPermissionConverter {
    AuthPermissionConverter INSTANCE = Mappers.getMapper(AuthPermissionConverter.class);

    AuthPermission converterBOToEntity(AuthPermissionBO authPermissionBO);

}
